package com.ktjy.mapper;

import com.ktjy.pojo.Storagerecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StoragerecordMapper {
    public List<Storagerecord> num5(@Param("goodsName") String goodsName, @Param("supplierId") Long supplierId, @Param("payStatus") int payStatus, @Param("pageBegin") Integer pageBegin, @Param("pageSize") Integer pageSize);

    int add(Storagerecord storagerecord);

    int update(Storagerecord storagerecord);
    Storagerecord findById(@Param("id") Long id);
    int delete(Long id);
}
